﻿
using Inovout.Models;
using System.Collections.Generic;
namespace Inovout.Kuajing.Models
{
    public partial class ProductCategory : DataObject
    {
        public ProductCategory()
        {
            Children = new DataObjectSet<ProductCategory>((ProductCategory) => { ProductCategory.Parent = this; });
        }
        public virtual string Name { get; set; }
        public virtual string Code { get; set; }

        public virtual ProductCategory Parent { get; set; }

        public virtual int Order { get; set; } 
        public virtual ISet<ProductCategory> Children { get; set; }

    }


   

}
